<template>
  <div class="fly-panel fly-panel-user"  pad20>
    <div class="layui-tab layui-tab-brief"  lay-filter="user">
      <ul class="layui-tab-title" id="LAY_mine">
        <router-link tag="li" :to="{name:'mypost'}">我的帖子</router-link>
        <router-link tag="li" :to="{name:'mycollection'}">收藏的帖子</router-link>
      </ul>
      <div class="layui-tab-content">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'user-posts'
}
</script>

<style lang="scss" scoped>

</style>
